package org.example.frw.verify;

import com.alibaba.ttl.TransmittableThreadLocal;
import org.example.frw.exception.InvalidParamException;

public interface DoVerify {
  TransmittableThreadLocal<Object> VERIFY_CONTEXT = new TransmittableThreadLocal<>();
  void verify(Object... t) throws InvalidParamException;

  default void clear(){
    VERIFY_CONTEXT.remove();
  };
}
